<div class="login-page">  <!--  ng-controller="loginController" -->
    <!--action="/login" method="POST"-->
    <form class="bs-example bs-example-form" name="loginForm">
        <div class="panel panel-success login-panel">
            <div class="panel-heading">
                <h3 class="panel-title italic">模拟工具</h3>
            </div>
            <div class="panel-body">
                <div class="input-group">
                    <span class="input-group-addon glyphicon glyphicon-user"></span>
                    <input type="text" class="form-control" placeholder="admin" ng-model="user.account" name="username" value=""/>
                </div>
                <div style="font-size:10px; color:red;margin: 8px 0px 0px 45px;">
					{{nameMessage}}
                </div>

                <div class="input-group">
                    <span class="input-group-addon glyphicon glyphicon-lock"></span>
                    <input type="password" class="form-control" placeholder="123456" ng-model="user.password" name="password" ng-keypress="enter($event)" />
                </div>
                <div style="font-size:10px; color:red;margin: 8px 0px 0px 45px;">
					{{passwordMessage}}
                </div>
                
            </div>
            <div class="panel-footer">
                <input type="checkbox" />记住密码
                    <!-- <a href="javascript:void(0)" ng-controller="registerController" dialog-drt template-url="dialogTemplate/register.html" class="underline italic float-right" ng-click="openDialog()">
                        注册
                    </a> -->
                    <input type="hidden" name="submit" value="Login" />
                   <!--<input type="submit" ng-disabled="isdisabled" class="btn btn-success" value="登录"/>
                    -->
                <input type="button" ng-disabled="isdisabled" class="btn btn-success" value="登录" ng-click="login()" />
             </div>
        </div>
    </form>
</div>